package com.personal.book1.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

@Data
@ConfigurationProperties(prefix = "mymap")
@Component
public class MapTypes {
    private Map<String,String> map;
}
